package com.spring.mybatis.anno.service;

import java.util.List;

import com.spring.mybatis.anno.po.User;

public interface UserService {

  User selectById(String id);

  User selectByUserName(String username);

  List<User> selectAll();

  Long insert(User user);

  boolean update(User user);

  boolean delete(String id);

  void saveTransactionDb();
}
